#
# ~/.bash_profile
#

[[ -f ~/.zshrc ]] && . ~/.zshrc

if [ "$(tty)" = "/dev/tty1" ] ; then
    # Your environment variables
    export SDL_VIDEODRIVER=wayland
    export _JAVA_AWT_WM_NONREPARENTING=1
    export QT_QPA_PLATFORM=wayland
    export MOZ_ENABLE_WAYLAND=1
    export MOZ_WEBRENDER=1
    export XDG_SESSION_TYPE=wayland
    export XDG_CURRENT_DESKTOP=sway
    exec sway
fi
